﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Proggy.Web.Cms.Core.Models
{
    /// <summary>
    /// View model for rendering DragAndDropItem in front end or back end
    /// </summary>
    public class AddedDragAndDropItemRenderViewModel
    {
        /// <summary>
        /// If true, will render editor bits
        /// </summary>
        public bool RenderAsEditor { get; set; }

        /// <summary>
        /// The drag and drop item
        /// </summary>
        public AddedDragAndDropItem Item { get; set; }  
      
        /// <summary>
        /// The index (1-based)
        /// </summary>
        public int Number {get;set;}
    }
}
